package com.example.dblibrary.database.daos;



import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Query;

import com.example.dblibrary.database.AppDatabase;

import java.util.List;

import io.reactivex.Flowable;

@Dao
public interface SongType {

    /**
     * 查询分类
     *
     * @return
     */
    @Query("SELECT * from " + AppDatabase.table_song_type)
    Flowable<List<SongType>> loadSongType();
}
